Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore binary columns for stats generation #1766

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

emcake
Copy link
Contributor

@emcake emcake commented Oct 24, 2023

Description

Currently when trying to checkpoint a table with a binary column, this will fail with data type Binary not supported. This appears to be due to an arrow transformation into JSON to serialize the checkpoint format, and that arrow-json doesn't support binary (https://github.com/apache/arrow-rs/blob/master/arrow-json/src/writer.rs#L213).

This is a targeted fix that just disables stats generation for binary columns, which (at least to me) doesn't really make sense anyhow. This is a more targeted fix than #1498 and currently all the tests pass.

Related Issue(s)

#1498

@github-actions github-actions bot added binding/rust Issues for the Rust crate rust labels Oct 24, 2023
@rtyler rtyler added this to the Rust v0.17 milestone Oct 25, 2023
@rtyler rtyler merged commit 3d85b9b into delta-io:main Oct 25, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate rust
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants